<template>
	<view class="order-driver" v-if="driver">
		<card title="司机信息"> 
			<view class="content">
				<view class="person" v-for="item in driver" :key="item.name">
					<etui label="姓名" :value="item.name || '-'"/>
					<etui label="车牌号" :value="item.licensePlateNumber || '-'"/>
					<etui label="电话" :value="item.tel || '-'"/>
					<etui label="微信" :value="item.wechatNo || '-'"/>
				</view>				
			</view>
		</card>
	</view>
</template>
<script>
import card from '../../../components/card'
import etui from './etui'
export default {
	name: 'order-driver',
	components: {
		card, etui
	},
	props: {
		driver: { type: Object, default:()=>{return null} }
	},
	data() {
		return {
		}
	}
}
</script>
<style lang="less">
.order-driver{
	.content{
	}
}
</style>